Quantum Modular Forms From Three-Manifolds